package fm.dongman.modellib.StaticArea;

import org.jetbrains.annotations.NotNull;

/**
 * 接口定义
 * Created by KUIGE on 2017/10/26.
 */

public class StaticUrl {

    //刷新的token
    public static String RETOKEN_KEY = "";
    /**
     * 用户的key
     */
    public static String TOKEN_KEY = "";

    /**
     * 接口通用地址前缀
     */
    private static final String WWW = "http://api.dongman.fm/";

    /**
     * 主页
     */
    public static final String HOME_REMOTE = WWW + "homepage/detail";

    /**
     * 动漫详情页
     */
    public static final String COMIC_INFO_REMOTE = WWW + "subject/detail?";

    /**
     * 发现-》漫圈
     */
    public static final String FIND_ARTICLE_REMOTE = WWW + "article/getlist?";

    /**
     * 文章详情
     */
    public static final String ArticleInfo = WWW + "article/detail?";

    /**
     * 发现-》漫榜
     */
    public static final String FIND_RANK_REMOTE = WWW + "rank/getlist?";

    /**
     * 漫榜详情
     */
    public static final String RankInfo = WWW + "rank/detail?";

    /**
     * 番剧页面
     */
    public static final String COMIC_REMOTE = WWW + "xinfan/getlist?";

    /**
     * 新番速递
     */
    public static final String COMIC_COURIER = WWW + "xinfan/getlist?";

    /**
     * 查看用户创建的漫单
     */
    public static final String USER_CREATE = WWW + "mandan/getListByUser";

    /**
     * 漫单列表
     */
    public static final String SheetList = WWW + "mandan/getlist?";

    /**
     * 漫单详情
     */
    public static final String SheeInfo = WWW + "mandan/detail?";

    /**
     * 添加动漫到漫单
     */
    public static final String ADD_MANDAN = WWW + "mandan/addItemToMandan";

    /**
     * 发现-》漫单
     */
    public static final String FIND_SHEET_REMOTE = WWW + "mandan/getpage?";

    /**
     * 搜索
     */
    public static final String SEARCH_Q = WWW + "search/q?";

    /**
     * 搜索热门关键词
     */
    public static final String SEARCH_REMOTE = WWW + "search/hotwords?";

    /**
     * 登录
     */
    public static final String LOGIN_REMOTE = WWW + "account/loginByAccountAndPwd";

    /**
     * 动漫列表
     */
    public static final String COMIC_LIST_REMOTE_ID = WWW + "account/viewhistory?";
    public static final String COMIC_LIST_REMOTE_KEY = WWW + "search/q?";


    /**
     * 用户粉丝和关注
     */
    public static final String USER_LIST = WWW + "account/relations?";

    /**
     * 番剧分类预加载
     */
    public static final String COMIC_CLASSIFY_REMOTE = WWW + "category/choice";

    /**
     * 番剧分类过滤请求地址
     */
    public static final String COMIC_CLASSIFY_REMOTE_POST = WWW + "category/getlist?";

    /**
     * 评论列表
     */
    public static final String COMMENT_lIST = WWW + "comment/getlist?";

    /**
     * 查看用户的评论列表
     */
    public static final String USER_COMMENT = WWW + "comment/getListByUser";

    /**
     * 查看用户
     */
    public static final String USER_INFO = WWW + "account/detail?";

    /**
     * 查看用户Page
     */
    public static final String USER_PAGE = WWW + "account/getpage";

    /**
     * 私信列表
     */
    public static final String CHART_LIST = WWW + "account/chartlist";

    /**
     * 评分地址
     */
    public static final String COMIC_SCORE = WWW + "itct/ratesubject";

    /**
     * 点赞评论
     */
    public static final String COMMENT_SUPPORT = WWW + "itct/vote_comment";

    /**
     * 短信验证
     */
    public static final String REGISTER_VALIDATE = WWW + "account/sendSmsCode";

    /**
     * 短信注册账号
     */
    public static final String REGISTER_ACCOUNT = WWW + "account/registerByPhone";

    /**
     * 修改密码
     */
    public static final String MODIFY_PWD = WWW + "account/modifyPwd";

    /**
     * 忘记/重置密码
     */
    public static final String FORGET_PWD = WWW + "account/resetPwd";

    /**
     * 绑定/修改手机号
     */
    public static final String BIND_PHONE = WWW + "account/bindPhone";

    /**
     * 关注漫单/取消关注漫单
     */
    public static final String FRANK_MANDAN_INFO = WWW + "mandan/followMandan";

    /**
     * 收藏/取消收藏专题
     */
    public static final String FRANK_TOPIC_INFO = WWW + "topic/collectTopic";

    /**
     * 第三方登录地址
     */
    public static final String OTHER_LOGIN = WWW + "account/loginOther";

    /**
     * 发送消息
     */
    public static final String SEND_MSG = WWW + "account/savechart";

    /**
     * 获取私信 ID
     */
    public static final String GET_CHAT_ID = WWW + "account/getChartId";

    /**
     * 发送评论
     */
    public static final String SEND_COMMENT = WWW + "itct/add_comment";

    /**
     * 更新token
     */
    public static final String UP_TOKEN = WWW + "account/refreshToken";

    /**
     * 创建/修改/删除漫单
     */
    public static final String EDIT_SHEET_INFO = WWW + "mandan/createOrEditMandan";

    /**
     * 私信详情
     */
    public static final String MSG_INFO = WWW + "account/chartdetail";

    /**
     * 获取网站视频全屏 Tag
     */
    public static final String VIDEO_TAG = WWW + "subject/playerFullcreen";
}
